package com.example.conf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 系统账户附件表
 * </p>
 *
 * @author wpdcn
 * @since 2020-05-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_account_attach_file")
@ApiModel(value="SysAccountAttachFileEntity对象", description="系统账户附件表")
public class SysAccountAttachFileEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(comment = "主键id")
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Column(comment = "账户id")
    @ApiModelProperty(value = "账户id")
    private Long accountId;

    @Column(comment = "证件类型：1营业执照；2证件照")
    @ApiModelProperty(value = "证件类型：1营业执照；2证件照")
    private String type;

    @Column(comment = "正反面：1正面；2反面")
    @ApiModelProperty(value = "正反面：1正面；2反面")
    private String frontBack;

    @Column(comment = "路径")
    @ApiModelProperty("路径")
    private String url;


}
